package com.cong.类与对象;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//定义一个人的类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ren {

    private String name;
    private int age;
    private String address;

    public static void main(String[] args) {
        ren ren = new ren();
        ren.setAddress("好吧");
        ren.setAge(18);
        ren.setName("lll");
        System.out.println(ren);
    }


}
